﻿using System;
using System.Collections.Generic;
using yiCommerce.Core.Domain.Orders;

namespace yiCommerce.Core.Domain.Tradings
{
    public class Trading:BaseEntity
    {
        public virtual int TradingId { get; set; }
        public virtual DateTime Created { get; set; }
        public virtual string PaymentMethodSystemName { get; set; }

        private ICollection<TradingOrder> _orders;

        public virtual ICollection<TradingOrder> Orders
        {
            get { return _orders ?? (_orders = new List<TradingOrder>()); }
            protected set { _orders = value; }
        }


    
    }
}